﻿<UserControl x:Class="ETRobocon.RaceTraking.GamePresentation.ClearStatusPanelControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="95" d:DesignWidth="95">
	
	    
	<UserControl.Resources>
    	<ResourceDictionary>
    		<ResourceDictionary.MergedDictionaries>
    			<ResourceDictionary Source="Styles/ResourceDictionary.xaml"/>
    		</ResourceDictionary.MergedDictionaries>
    	</ResourceDictionary>
    </UserControl.Resources>
	
    <Grid Background="{DynamicResource BtnCourseNormal}">
        <Grid.Triggers>
            <EventTrigger RoutedEvent="FrameworkElement.Loaded">
                <BeginStoryboard>
                    <Storyboard RepeatBehavior="Forever" AutoReverse="True">
                        <DoubleAnimation
                            Storyboard.TargetName="tbClearedStatus"
                            Storyboard.TargetProperty="Opacity"
                            From="0"
                            To="1"
                            Duration="0:0:0.5"/>
                    </Storyboard>
                </BeginStoryboard>
            </EventTrigger>
        </Grid.Triggers>
		
        <Image x:Name="ClearedStatusBackImage" Margin="0" Source="Assets/btn_course_clear.png"/>
        <TextBlock x:Name="tbShortCutName" TextWrapping="Wrap" Grid.Row="0" Text="ShortCutNam" FontSize="16" VerticalAlignment="Center" Margin="12,0" Foreground="{DynamicResource FontColorBrush01}" TextAlignment="Center" FontWeight="Bold" Effect="{DynamicResource DropShadowEffect01}" />
        
		<TextBlock x:Name="tbClearedStatus" Text="@" FontSize="34.667" VerticalAlignment="Center" HorizontalAlignment="Center" FontWeight="Bold" RenderTransformOrigin="0.5,0.5" Foreground="{DynamicResource FontColorBrush02}" Effect="{DynamicResource DropShadowEffect01}">
        	<TextBlock.RenderTransform>
        		<TransformGroup>
        			<ScaleTransform/>
        			<SkewTransform/>
        			<RotateTransform Angle="-16"/>
        			<TranslateTransform/>
        		</TransformGroup>
        	</TextBlock.RenderTransform>
        </TextBlock>
		
    </Grid>
</UserControl>
